<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            margin: 0;
        }
        .top{
            height: 200px;
            background-color: skyblue;
        }
        .head{
            height: 100px;
            background-color: tomato;
            position: sticky;
            top: 0;
        }
        .main{
            width: 800px;
            margin: 0 auto;
            border: 1px solid red;
            min-height: 1000px;
            margin: 20px auto;
        }
        .main .left{
            width: 200px;
            height: 500px;
            background-color: pink;
            float: left;
            position: sticky;
            top: 120px;
        }
        .main .right{
            width: 580px;
            height: 800px;
            /* background-color: khaki; */
            float: right;
        }
        .main .item{
            width: 580px;
            height: 200px;
             background-color: khaki;
             margin-bottom: 10px;
        }

    </style>
</head>
<body>
    <div class="top"></div>
    <div class="head"></div>
    <div class="main">
        <div class="left"></div>
        <div class="right">
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
            <div class="item"></div>
        </div>
    </div>
</body>
</html>